﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IosDatamodel;
namespace IOSpro.Lib
{
    interface ICommentsBL
    {
    //    int GetCommentCountByprojectSN(string projectSN);
    //    decimal GetAverageStarvalueByprojectSN(string projectSN);
    //    bool HaveCommentByprojectSN(string projectSN);
      //  void DeleteCommentByprojectSN(string projectSN);
        //int GetAveragerStar(string projectSN);
        void AddComment(string email , string usercomment,int videoid);
        IQueryable<Comments> GetcommentsList(int videoId);
 
        IQueryable<UserReplys> GetReplysList(int usercommentid);
        void AddReply(string email, int usercommentid, string reply);

      //  bool DeleteCommentByID(int ID);
      //  Feedback GetCommentByID(int ID);

    }
}
